package com.campus.customer.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class GoodsVo {
    @ApiModelProperty(value = "商品ID")
    private Integer id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("原价")
    private BigDecimal originalPrice;

    @ApiModelProperty("商品图片URL")
    private String image;

    @ApiModelProperty("商品描述")
    private String description;

    @ApiModelProperty("打包费")
    private BigDecimal packagingFee;

    @ApiModelProperty("销量")
    private Integer sales;

    @ApiModelProperty("评分")
    private BigDecimal rating;

    @ApiModelProperty("所属分类ID")
    private Integer categoryId;

    @ApiModelProperty("所属商户ID")
    private Integer merchantId;

    @ApiModelProperty("商品规格组列表")
    private List<Specification> specifications;


}
